package vip.youngboy.freejump.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import vip.youngboy.freejump.domain.bus.BusObj;
import vip.youngboy.freejump.domain.bus.BusTable;

import java.util.Optional;

@Repository
public interface BusTableRepository extends JpaRepository<String, BusTable> {

    BusTable findByKey(String key);

    BusTable save(BusTable busTable);

}
